package com.example.yuejian.Bean;

import java.util.List;



public class PostComment {


    /**
     * code : 200
     * comList : [{"commentid":"1","userid":"1","com_pid":"2","post_id":"1","username":"张三","pic":"jk.png","content":"不错","date":"2017-08-19","flag":"1","com_name":"张三","com_pic":"xh.jpg","commtime":"2017-10-21 16:45:14"},{"commentid":"8","userid":"2","com_pid":"2","post_id":"1","username":"皮特","pic":"xh.jpg","content":"hello world","date":"2017-10-11","flag":"1","com_name":"麦克","com_pic":"xc.jpg","commtime":"2017-10-23 18:33:36"}]
     */

    private int code;
    private List<ComListBean> comList;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<ComListBean> getComList() {
        return comList;
    }

    public void setComList(List<ComListBean> comList) {
        this.comList = comList;
    }

    public static class ComListBean  {
        /**
         * commentid : 1
         * userid : 1
         * com_pid : 2
         * post_id : 1
         * username : 张三
         * pic : jk.png
         * content : 不错
         * date : 2017-08-19
         * flag : 1
         * com_name : 张三
         * com_pic : xh.jpg
         * commtime : 2017-10-21 16:45:14
         */

        private String commentid;
        private String userid;
        private String com_pid;
        private String post_id;
        private String username;
        private String pic;
        private String content;
        private String date;
        private String flag;
        private String com_name;
        private String com_pic;
        private String commtime;



        public String getCommentid() {
            return commentid;
        }

        public void setCommentid(String commentid) {
            this.commentid = commentid;
        }

        public String getUserid() {
            return userid;
        }

        public void setUserid(String userid) {
            this.userid = userid;
        }

        public String getCom_pid() {
            return com_pid;
        }

        public void setCom_pid(String com_pid) {
            this.com_pid = com_pid;
        }

        public String getPost_id() {
            return post_id;
        }

        public void setPost_id(String post_id) {
            this.post_id = post_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getFlag() {
            return flag;
        }

        public void setFlag(String flag) {
            this.flag = flag;
        }

        public String getCom_name() {
            return com_name;
        }

        public void setCom_name(String com_name) {
            this.com_name = com_name;
        }

        public String getCom_pic() {
            return com_pic;
        }

        public void setCom_pic(String com_pic) {
            this.com_pic = com_pic;
        }

        public String getCommtime() {
            return commtime;
        }

        public void setCommtime(String commtime) {
            this.commtime = commtime;
        }
    }
}
